package org.jeecg.modules.workflow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.workflow.entity.WorkFlowBaseAssign;
import org.jeecg.modules.workflow.entity.WorkFlowParentNode;

/**
 * @Description: 一级节点
 * @Author: wufanxin
 * @Date:  2021-06-11
 * @Version: V1.0
 */
public interface WorkFlowParentNodeMapper extends BaseMapper<WorkFlowParentNode> {

    /**
     * 根据工作流查询所有节点
     * @param page
     * @param workFlowParentNode
     * @return
     */
    IPage<WorkFlowParentNode> selectTreeParentNodeByWorkflowId(IPage<WorkFlowParentNode> page, @Param("workFlowParentNode") WorkFlowParentNode workFlowParentNode);
}
